Sqrt Function

Returns the square root of the value specified.

Syntax

result = Sqrt( value )


Parameters

value

Double

The value you want the square root of.



Notes

The Sqrt function returns the square root of the value passed to it.


Example

This example uses the Sqrt function to return the square root of a number.

Dim d As Double
d=Sqrt(16) //returns 4

See Also

^, * operators.